﻿using System;
using System.Collections.Generic;


public class Role : Battle.Engine.Interface.IClientData<ProtoBuf.Message.Role>
{
    //玩家ID
    public long pid;
    //玩家对一个GatewayIDserverId
    public string gatewayId;
    //玩家所属服务器
    public string zoneId;
    //玩家昵称
    public string nickName;
    //玩家形象
    public int styleId;

    public ProtoBuf.Message.Role DataToClientModel()
    {
        ProtoBuf.Message.Role data = new ProtoBuf.Message.Role();
        data.pid = this.pid;
        data.nickName = this.nickName;
        data.styleId = this.styleId;
        //data.zoneId = this.zoneId;
        return data;
    }
}

